package com.kt.springcloud.feign;

import org.springframework.stereotype.Component;

/**
 * @author DengXin
 * @date 2022/10/6 10:30
 */
@Component
public class OrderFeignFallback implements OrderFeign{
    @Override
    public String paymentInfoOk(Integer id) {
        return "OrderFeignFallback fall back-paymentInfoOk";
    }

    @Override
    public String paymentInfoTimeOut(Integer id) {
        return "OrderFeignFallback fall back-paymentInfoTimeOut";
    }
}
